<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>搜索</title>
    <style>
        table{
            width: 72%;
            margin: 100px auto;
            text-align: center;
            color: #fff;
        }
        table tr:nth-child(1) td{
            background: #c7254e;
            font-weight: bold;
        }
        table td{
            width: 18%;
            height: 40px;
            line-height: 40px;
            background: #099;
        }
    </style>
</head>
<body>
<table>
    <tr>
        <td>编号</td>
        <td>账号</td>
        <td>密码</td>
    </tr>
    <% for(const i in user){ %>
        <tr>
            <td><%=user[i].id%></td>
            <td><%=user[i].name%></td>
            <td><%=user[i].pwd%></td>
        </tr>
    <% } %>
</table>
</body>
</html>